package biz

import (
	"context"
	"github.com/go-kratos/kratos/v2/log"
)

type CommonUsecase struct {
	co  CommonRepo
	tx  Transaction
	log *log.Helper
}

func NewCommonUsecase(co CommonRepo, tx Transaction, logger log.Logger) *CommonUsecase {
	return &CommonUsecase{co: co, tx: tx, log: log.NewHelper(logger)}
}

type CommonRepo interface {
	Test(ctx context.Context) error
}
